#@head("新增/编辑操作权限")
#define main()
	<link rel="stylesheet" href="#(ctx)/assets/layuiadmin/style/form.css" media="all">
#end
<body>
	<div class="layui-form layui-form-pane" lay-filter="layuiadmin-form-system" id="layuiadmin-form-system">
		<div class="layui-row layui-col-space1 task-row">
	 		<div class="layui-col-xs12">
				<div class="layui-form-item">
					<label class="layui-form-label">URL</label>
					<div class="layui-input-block">
						<input type="text" name="model.url" value="#(model.url??)" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
					</div>
				</div>
			</div>
		</div>
	    <div class="layui-row layui-col-space1 task-row">
	 		<div class="layui-col-xs12">
			    <div class="layui-form-item">
			    	<label class="layui-form-label">功能描述</label>
				    <div class="layui-input-block">
				    	<input type="text" name="model.descript" value="#(model.descript??)" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
				    </div>
			    </div>
			</div>
		</div>
	    <div class="layui-row layui-col-space1 task-row">
	 		<div class="layui-col-xs12">
			    <div class="layui-form-item">
					<label class="layui-form-label">是否停用</label>
					<div class="layui-input-block">
						<input type="radio" name="model.is_halt" value="F" title="否" #(model.is_halt?? == 'F' ? 'checked' : '')>
						<input type="radio" name="model.is_halt" value="T" title="是" #(model.is_halt?? == 'T' ? 'checked' : '')>
					</div>
				</div>
			</div>
		</div>
		<input type="hidden" name="model.id" value="#(model.id??)"/>
		<div class="layui-form-item layui-hide">
			<input type="button" lay-submit lay-filter="LAY-auth-front-submit" id="LAY-auth-front-submit" value="确认">
		</div>
	</div>
	#@layui()
	#define use()
		use(["index", "form"], function(){
			var $ = layui.$,
			form = layui.form;
		})
	#end
</body>
</html>